<?php if (!defined('THINK_PATH')) exit();?><header class="head">
    <div class="head_welcome clear">
        <div class="head_welcome_info">
            <p class="fl">欢迎来到广州品纳餐饮管理有限公司官网！</p>
            <p class="fr">全国免费咨询热线  400-9960806</p>
        </div>
    </div>
    <div class="head_container_bg">
        <div class="head_container clear">
            <a class="logo fl" href="/">
                <?php
 $_id = intval(19); $where = array('aid'=> $_id, 'status' => 1); $limit = "0"; $abc_cate = M('abc')->find($_id); if ($abc_cate) { $limit = empty($limit) ? $abc_cate['num'] : $limit; $where['starttime'] = array('lt', time()); $where['endtime'] = array('gt', time()); $_abc = M('abcDetail')->where($where)->order('sort')->limit($limit)->select(); }else { $_abc = array(); } if (empty($_abc)) { $_abc = array(); } foreach($_abc as $autoindex => $abc): $abc['width'] = $abc_cate['width']; $abc['height'] = $abc_cate['height']; ?><img src="<?php echo ($abc[content]); ?>" alt="logo"><?php endforeach;?>
            </a>
            <nav class="nav fr">
                <ul>
                    <?php
 $_typeid = 0; if($_typeid == -1) $_typeid = I('cid', 0, 'intval'); $_fieldflag = 0; if($_fieldflag == 0){ $_navlist = get_category(1); }else{ $_navlist = M('category')->where(['status'=>1])->order('sort asc')->select(); } if($_typeid == 0) { $_navlist = Common\Lib\Category::toLayer($_navlist); }else { $_navlist = Common\Lib\Category::toLayer($_navlist, 'child', $_typeid); } foreach($_navlist as $autoindex => $navlist): $navlist['url'] = get_url($navlist); ?><li>
                            <a class="<?=$avtiveId==$navlist[id]?'nav_active':''?>" href="/pn_<?=$navlist[ename]?>"><p><?php echo ($navlist["name"]); ?><span class="nav_english"><?php echo ($navlist["name_eng"]); ?></span></p></a><!--nav_active-->
                        </li><?php endforeach;?>
                </ul>
            </nav>
            <button class="navbar-toggle to" id="div_0" type="button">
                <span class="icon-bar btn-bar"></span>
                <span class="icon-bar btn-bar"></span>
                <span class="icon-bar btn-bar"></span>
            </button>
        </div>
    </div>
</header>
<!--<?php echo U('Post/index?catalogId='.$navlist[id]);?>-->